-- GENERATED SPELL FOR [Deth'ryll Satyr] --


function spell0_2212(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2212', 626, 1)
end

function Sorts_2212(pUnit, Event)
local choix_sorts_2212 = math.random(0, 0)
if choix_sorts_2212 == 0 then
pUnit:RegisterEvent('spell0_2212', 1, 1)
end
end

function mob2212_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2212', math.random(1500, 3000), 1)
end

function mob2212_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2212_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2212_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2212, 1, 'mob2212_Action')
RegisterUnitEvent(2212, 2, 'mob2212_Leave')
RegisterUnitEvent(2212, 3, 'mob2212_Kill')
RegisterUnitEvent(2212, 4, 'mob2212_Die')
